﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Forms;

namespace AMS
{
    public class BaseForm : Form
    {
        protected bool isSingleton = false;
        protected FormManager internalFormManager;
        protected Guid guid = Guid.NewGuid();

        #region Methods

        public void LoadForm(FormManager formManager)
        {
            internalFormManager = formManager;
        }

        public void DestroyForm(BaseForm baseForm)
        {
            internalFormManager.DestroyForm(baseForm);
        }

        #endregion

        #region Properties

        public bool IsSingleton{get { return isSingleton; } }

        public Guid Guid{get {return guid; }}

        #endregion
    }
}
